home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem
- rem This command file repairs IDA database.
- rem
- rem Usually it will be run from IDA automatically.
- rem To run it manually:
- rem - run IDA and exit with "Don't pack database"
- rem - run this command file on the *.ID0 file
- rem for example: IDACHECK MYBASE.ID0
- rem - if you don't want to keep the database in the
- rem unpacked form, run IDA and exit with "Pack..."
- rem
- cls
- btv -c %1
- btv %1 idachk.tmp
- if errorlevel 1 goto Error
- del %1
- rename idachk.tmp %1
- idacomp %1
- goto Ex
- :Error
- echo .
- echo . Error during validation
- echo .
- :Ex
-